package top.ucat.boots.example.rocketmq.consumer.service;

import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.stereotype.Service;

/**
 * @Auther: Jun
 * @Date: 2019/8/21 15:53
 * @Description:
 */
@Service
public class ListenerService {


    @StreamListener("input")
    public void receiveInput(String message) {
        System.out.println("Receive input: " + message);
    }
}
